Skip to content

Conversation

@vkucera
Copy link
Collaborator

@vkucera vkucera commented Jan 29, 2026

Prevents execution of arbitrary code in the head branch.
Follow-up to #14662
@ktf @singiamtel

Prevents execution of arbitrary code in the head branch.
@github-actions github-actions bot changed the title O2 linter: Checkout the script from the base branch [Infrastructure] O2 linter: Checkout the script from the base branch Jan 29, 2026
@vkucera vkucera marked this pull request as ready for review January 29, 2026 15:25
@ktf ktf merged commit c8e0753 into AliceO2Group:master Jan 30, 2026
13 checks passed
name: O2 linter

# "on": [pull_request_target, push]
"on": [pull_request_target, push]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I missed this is still using pull_request_target. Please move to pull_request.

Suggested change
"on": [pull_request_target, push]
#"on": [pull_request_target, push]

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pull_request_target is needed to have write permissions for the result comment.

@vkucera vkucera deleted the o2-linter branch January 30, 2026 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants